package com.gjsh.c_var;

public class Dome01 {
    public static void main(String[] args) {
//        montage()
        System.out.println(montage("1", "2", "3", "6", "5"));
        System.out.println(montage());

    }


    public static String montage(String... arr) {
        String link = "";
        if (arr.length != 0) {
            for (int i = 0; i < arr.length; i++) {
                link = link + arr[i];
            }
        }
        return link;

    }
}
